
//在这里面放API需要调用的模块，上面打印的数组a里面是需要请求的模块，打印出来，通过下面方式获取，放到getmodules.js,例如 canvablepath_lf42rt2, 通过http://api0.map.bdimg.com/getmodules?v=2.0&t=20230207&mod=canvablepath_lf42rt2下载。

//复制内容保存到getmodules.js文件中，注意：将我们上一步骤打印的a中所有的内容都需要按照这种方法保存到getmodules.js文件中；

//原始图层图片地址
var originUrl  =[
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=6&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/6/1.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=5&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/5/1.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=7&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/7/1.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=6&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/6/0.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=6&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/6/2.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=4&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/4/1.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=8&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/8/1.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=5&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/5/0.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=5&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/5/2.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=7&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/7/0.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=7&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/7/2.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=6&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/6/3.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=3&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/3/1.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=9&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/9/1.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=4&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/4/0.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=4&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/4/2.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=8&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/8/0.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=8&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/8/2.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=2&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/2/1.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=5&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/5/3.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=7&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/7/3.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=3&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/3/0.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=3&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/3/2.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=9&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/9/0.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=9&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/9/2.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=1&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/1/1.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=4&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/4/3.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=8&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/8/3.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=2&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/2/0.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=2&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/2/2.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=0&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/0/1.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=3&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/3/3.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=9&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/9/3.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=1&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/1/0.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=1&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/1/2.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=2&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/2/3.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=0&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/0/0.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=0&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/0/2.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=1&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/1/3.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=M10&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-10/1.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=M9&y=1&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-9/1.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=0&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/0/3.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=M10&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-10/0.png"
    },
    {
        "url": "http://maponline0.bdimg.com/tile/?qt=vtile&x=M10&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-10/2.png"
    },
    {
        "url": "http://maponline1.bdimg.com/tile/?qt=vtile&x=M9&y=0&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-9/0.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=M9&y=2&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-9/2.png"
    },
    {
        "url": "http://maponline3.bdimg.com/tile/?qt=vtile&x=M10&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-10/3.png"
    },
    {
        "url": "http://maponline2.bdimg.com/tile/?qt=vtile&x=M9&y=3&z=5&styles=pl&scaler=1&udt=20240524&from=jsapi2_0",
        "name": "tiles/5/-9/3.png"
    }
]